package com.iye.puretennis.custom;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

import java.net.URI;

/**
 * Created with IntelliJ IDEA.
 * User: jing wu
 * Date: 2014/12/17
 * Time: 15:11
 */
public class CustomHttpDelete extends HttpEntityEnclosingRequestBase {

    public static final String METHOD_NAME = "DELETE";

    public String getMethod() {
        return METHOD_NAME;
    }

    public CustomHttpDelete(final String uri) {
        super();
        setURI(URI.create(uri));
    }
    public CustomHttpDelete(final URI uri) {
        super();
        setURI(uri);
    }
    public CustomHttpDelete() {
        super();
    }

}
